﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GLImp;
using System.Drawing;
using Gwen.Control;

namespace BoneEditor {
	class Program {
		public static Camera2D MainCamera;
		[STAThread]
		static void Main(string[] args) {
			Menu = new MenuBar();
			bt = new BoneTree();
			

			MainCamera = new Camera2D();
			MainCamera.OnRender += new GraphicsManager.Renderer(MainCamera_OnRender);
			GraphicsManager.Update += new GraphicsManager.Updater(GraphicsManager_Update);
			GraphicsManager.SetResolution(800, 600);
			GraphicsManager.Start();
			MainCanvas.Dispose();
		}

		static BoneTree bt;
		static MenuBar Menu;

		static void GraphicsManager_Update() {
		}

		static void MainCamera_OnRender() {
			GraphicsManager.DrawRectangle(400, 300, 10, 10, Color.Red);
		}
	}
}
